COM AT+CHLD: Call hold
COM
COM Used variables:
COM <DA3> Destination address for phone to be called for multiparty and hold
COM
COM Version History:
COM Version 1.0   21.11.2003   R. Weiden	started, with adaption for model C62
COM Version 1.1   04.12.2003   R. Weiden        adapted to R65 platform, added multiparty test
COM Version 1.2   09.12.2004   T. Kleinmann     changed messages
COM -------------------------------------------------------------------------------------------------------------

from attglobals import *

COM AT+CHLD: Call hold
AT+CHLD=?
WAIT FOR OK
MESSAGE Please establish a phone call to your mobile! Press OK when call is established...
AT+CHLD=2
WAIT FOR OK
USERTEST(' Please check if call is on hold now.')
AT+CHLD=2
WAIT FOR OK
USERTEST(' Please check if call is active again')
COM Put on hold and terminate
AT+CHLD=2
WAIT FOR OK
AT+CHLD=0
WAIT FOR OK
MESSAGE Call should be terminated now. Please hang up all phones.
COM establish a call 
ATD <DA3>;
WAIT FOR OK
MESSAGE Please answer call to <DA3> and keep it established. Then dial up your mobile from another phone. 
COM terminate 1st and toggle to 2nd call 
AT+CHLD=1
WAIT FOR OK
USERTEST(' 1st call (to <DA3>) now should be terminated, call 2 should be activated. Please hang up all phones!')
COM Hang up
ATH
WAIT FOR OK
COM establish a call 
ATD <DA3>;
WAIT FOR OK
MESSAGE(' Please answer call to <DA3> and keep it established. Then dial up your mobile from another phone. Press OK when mobile is ringing.')
COM first put call 1 on hold...
AT+CHLD=2
WAIT FOR OK
COM then switch to multiparty...
AT+CHLD=3
WAIT FOR OK
MESSAGE Now MULTIPARTY should be activated. 
COM terminate call 2
AT+CHLD=12
WAIT FOR OK
USERTEST(' Call 2 should be terminated now. Verify, then hang up all phones...')
ATH
WAIT FOR OK
COM Write nonsense
AT+CHLD=17
WAIT FOR ERROR
